/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package com.dream.service.dto;

import com.dream.annotation.Query;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.List;

/**
* @website https://el-admin.vip
* @author syl
* @date 2020-07-06
**/
@Data
@ApiModel(description = "工时入参")
public class TaskWorkQueryCriteria{

    /** 精确 */
    @Query
    @ApiModelProperty(name = "id",value = "主键ID",example = "1")
    private Integer id;

    /** 精确 */
    @Query
    @ApiModelProperty(name = "deptId",value = "项目ID",example = "1")
    private Integer  deptId;

    /** 精确 */
    @Query
    @ApiModelProperty(name = "taskUserId",value = "任务人ID",example = "1")
    private Integer  taskUserId;

    /** 精确 */
    @Query
    @ApiModelProperty(name = "leaderId",value = "项目经理",example = "1")
    private Integer  leaderId;
    /** 精确 */
    @Query
    @ApiModelProperty(name = "status",value = "状态 精确查询",example = "1")
    private String status;
    /** BETWEEN */
    @Query
    @ApiModelProperty(name = "startDate",value = "开始时间 格式yyyy-MM-dd  必填",example = "2020-01-06")
    private String startDate;
    @Query
    @ApiModelProperty(name = "endDate",value = "结束时间 yyyy-MM-dd 必填",example = "2020-05-06")
    private String endDate;

    /** 按项目名称查询 */
    @Query
    @ApiModelProperty(name = "name",value = "项目名称",example = "")
    private String blurry;


}